package thread.desgin.single;

/**
 * 饿汉单列模式<br/>
 * @author liyl
 *
 */
public class MySingleton {
	
	 private static MySingleton instance = new MySingleton();  
     
	 private MySingleton(){}  
	      
	 public static MySingleton getInstance() {  
	        return instance;  
	 }  
}
